package com.example.it.not;

import com.example.it.bean.ChapterTabBean;
import com.example.it.bean.ItInfoItemBean;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Path;

public interface ApiSercie {
    String sWanUrl = "https://wanandroid.com/";

    //公众号tab
    @GET("wxarticle/chapters/json")
    Observable<ChapterTabBean> getChapterTab();
    //公众号列表
    //id,公众号tab中的公众号id
    //page,页码,从1开始
    @GET("wxarticle/list/{id}/{page}/json")
    Observable<ItInfoItemBean> getItInfoList(@Path("id") int id,
                                             @Path("page") int page);
}
